package xian.woniu.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import xian.woniu.util.ResultVO;

@FeignClient("sun-patient")
public interface IPatientService {
    @GetMapping("/patientinfo/getallpatientinfo")
    ResultVO getAllPatientInfo();
    @PostMapping("/patientinfo/selPatinfo1/{pid}")
    ResultVO selPatinfo1(@PathVariable("pid") String pid);
    @PostMapping("/patientinfo/selPatientByUid/{uid}")
    ResultVO selPatientByUid(@PathVariable("uid") String uid);
}
